@inject('menuPresenter','App\Presenters\Admin\MenuPresenter')
<nav class="navbar-default navbar-static-side" role="navigation">
  <div class="sidebar-collapse">
    <ul class="nav metismenu" id="side-menu">
      <li class="nav-header text-center">
          <div class="dropdown profile-element">
              <!-- <span>
                  <img alt="image" class="img-circle" src="" />
              </span> -->
              <a data-toggle="dropdown" class="dropdown-toggle" href="dashboard_2.html#">
              <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">{{auth()->user()->username}}</strong>
              </span> <span class="text-muted text-xs block">{{auth()->user()->name}}<b class="caret"></b></span> </span> </a>
              <ul class="dropdown-menu animated fadeInRight m-t-xs">
                    <li><a href="#">个人信息</a></li>
                    <li><a href="#">联系</a></li>
                    <li><a href="#">邮箱</a></li>
                    <li class="divider"></li>
                    <li><a href="#">退出</a></li>
              </ul>
          </div>
          <div class="logo-element">
              新型智能消防物联网系统
          </div>
      </li>

      {!!$menuPresenter->sidebarMenuList($sidebarMenu)!!}
      
    </ul>
  </div>
</nav>

